package cn.ddiancan.xddcloud.psc.base.domain;

import java.io.Serializable;

import cn.ddiancan.xddcloud.common.entity.BaseVO;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 字典数据表
 *
 * @TableName xdd_dict_data_t
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(value = JsonInclude.Include.NON_NULL) // json返回时忽略null值
public class DictDataVO extends BaseVO implements Serializable {

    /**
     * 主键
     */
    private String id;

    /**
     * 关联字典编码，与sys_dict表中的dict_code对应
     */
    @Schema(description = "关联字典编码，与sys_dict表中的dict_code对应")
    private String dictCode;

    /**
     * 字典项值
     */
    @Schema(description = "字典项值")
    private String value;

    /**
     * 字典项标签
     */
    @Schema(description = "字典项标签")
    private String label;

    /**
     * 标签类型，用于前端样式展示（如success、warning等）
     */
    @Schema(description = "标签类型，用于前端样式展示（如success、warning等）")
    private String tagType;

    /**
     * 状态（1-正常，0-禁用）
     */
    @Schema(description = "状态（1-正常，0-禁用）")
    private Integer status;

    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;


    private static final long serialVersionUID = 1L;
}